package com.ruoyi.project.platform.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

public class UserRunningDto {
    @Data
    public static class UserResource {
        List<StrategyResourceItem> strategies = new ArrayList<>();
        Integer robotScore = 0;
        List<RobotResourceItem> robots = new ArrayList<>();
    }

    @Data
    public static class StrategyResourceItem {
        Long strategyId;
        String name;
        int type;
    }

    @Data
    public static class RobotResourceItem {
        String name;
        int type;
        int canCreate;
    }

    @Data
    public static class MappingDto {
        private String value;
        private String description;
        private String name;
    }

    @Data
    public static class MappingUpdateSaveDto {
        private String value;
        private String description;
        private String name;
    }

    @Data
    public static class ExchangeDto {
        private String platform;
        private String tagName;
        private String sequence;
        private String secretKey;
        private String passphrase;
        private String apiKey;
        private String description;
        private String tickSize;
        private String sizeIncrement;
        private String quoteCurrency;
        private String baseCurrency;
        private String minSize;
        private String name;
    }
}
